package cn.zurish.cloud.mes.dao.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("t_bq")
@Data
public class BarCode {

        @TableId
        private String externalId;

        @TableField("product_name")
        private String productName;

        //@TableField(value = "materials",typeHandler = FastjsonTypeHandler.class)
      //  private List<Material> materials;
        private String materials;

       // @TableField(value = "parameters",typeHandler = FastjsonTypeHandler.class)
      //  private List<Parameter> parameters;
        private String parameters;

        private Integer type;

        private Date createTime;

        private String createUser;
}
